package daily;

/**
 * https://www.lanqiao.cn/problems/1444/learning/
 * 
 * @author Jia
 *
 */
public class day3_14_1 {
	public static void main(String[] args) {
		int sum = 2021;
		int result = 0;
		for (int i = 2; i < 1000000007; i++) {
			sum = (sum + 2021) % 1000000007;

			if (sum == 999999999) {
				result = i;
				break;
			}
		}
		System.out.println(result);
	}
}
